package com.app.model;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_model_type")
@JsonInclude(JsonInclude.Include.NON_NULL)

public class TypeModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String  name;//型号名称
    private Integer departmentId;//所属单位
    private String  operationalMission;//作战使命
    private String  attackTarget;//攻击目标
    private String  operationalMode;//作战使用方式
    private String  guidanceMode;//制导方式
    private String  adaptiveCarrier;//适应载机
    private String  launchingCondition;//发射条件
    private String  launchingMode;//发射方式
    private String  ranges;//射程
    private String  speed;//速度
    private String  altitude;//目标高度范围
    private String  hitAccuracy;//命中精度
    private String  restraint;//末端约束条件
    private String  rcs;//RCS
    private String  seeker;//导引头抗干扰能力
    private String  satellite;//卫星定位系统抗干扰能力
    private String  maneuver;//机动能力
    private String  goal;//目标适应性
    private String  fuze;//引信
    private String  warhead;//战斗部
    private String  dimension;//尺寸、重量
    //@ExcelProperty(index = 0)
    private Integer number;  //序号
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp updateTime;
    @TableField(exist = false)
    private String departmentText;
}
